
public class Test {
	public static void main(String arsg[]){

		        Trigon t1 = new Trigon(3, 4, 5);
				System.out.println(t1.toString());
				Rec r1 = new Rec(3, 4);
				System.out.println(r1.toString());
				Circle c1 = new Circle(3);
				System.out.println(c1.toString());
				Ball g1 = new Ball(3);
				System.out.println(g1.toString());
				Cylin cy1 = new Cylin(3, 4);
				System.out.println(cy1.toString());
				Cone co1 = new Cone(3, 4);
				System.out.println(co1.toString());


}
	}